#define _CRT_SECURE_NO_WARNINGS 1
#include"heap.h"
int main()
{
	int n = 0;
	scanf("%d", &n);
	int* p = (int*)malloc(sizeof(int) * n);
	for (int i = 0; i < n; i++)
	{
		scanf("%d", &p[i]);
	}
	Heap n1;
	HeapCreate(&n1, p, n);
	HeapPush(&n1, 10);
	HeapPop(&n1);
	return 0; 
}